#ifndef RANDOM_HPP
#define RANDOM_HPP

#include <omp.h>

#include <cstdlib>
#include <ctime>

static unsigned int num_thread = 1;
static unsigned int next = 1;
#pragma omp threadprivate(next)

void my_omp_srand(unsigned int);
int my_omp_rand_r(unsigned int*);
double my_omp_rand(void);

#endif // RANDOM_HPP
